package com.cherry.controller;

import com.cherry.entity.ResultData;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @create 2020-09-03 3:24 下午
 * @function:
 **/
@Slf4j
@RestController
@RequestMapping("/seckill")
public class SeckillController {
    @RequestMapping("/buy")
    public ResultData<Boolean> RobBuy(Integer gid) {
        log.info("获取到秒杀请求ID："+gid);
        return null;
    }
}
